//
//  UILabel+Extension.swift
//  WEIBO_SWIFT
//
//  Created by 岳挺 on 15/7/5.
//  Copyright © 2015年 yueting. All rights reserved.
//

import UIKit
extension UILabel {
    convenience init(title : String?, fontSize : CGFloat, titleColor : UIColor) {
        self.init()
        text = title
        sizeToFit()
        textAlignment = NSTextAlignment.Center
        font = UIFont.systemFontOfSize(fontSize)
        textColor = titleColor
    }
    
}
